type github.com/refraction-networking/utls.keyShare
19 uses
github.com/refraction-networking/utls (current package)
common.go#L166: type keyShare struct {
handshake_client.go#L181: hello.keyShares = []keyShare{
handshake_client.go#L188: hello.keyShares = append(hello.keyShares, keyShare{group: X25519, data: x25519EphemeralKey})
handshake_client.go#L198: hello.keyShares = []keyShare{{group: curveID, data: keyShareKeys.ecdhe.PublicKey().Bytes()}}
handshake_client_tls13.go#L333: if slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_client_tls13.go#L354: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L528: if !slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_messages.go#L94: keyShares []keyShare
handshake_messages.go#L645: var ks keyShare
handshake_messages.go#L765: serverShare keyShare
handshake_server_tls13.go#L232: var clientKeyShare *keyShare
handshake_server_tls13.go#L267: hs.hello.serverShare = keyShare{group: selectedGroup, data: key.PublicKey().Bytes()}
handshake_server_tls13.go#L546: func (hs *serverHandshakeStateTLS13) doHelloRetryRequest(selectedGroup CurveID) (*keyShare, error) {
u_public.go#L634: func (ks KeyShare) ToPrivate() keyShare {
u_public.go#L635: return keyShare{group: ks.Group, data: ks.Data}
u_public.go#L638: func (ks keyShare) ToPublic() KeyShare {
u_public.go#L643: type keyShares []keyShare
u_public.go#L652: func (KSS KeyShares) ToPrivate() []keyShare {
u_public.go#L653: var kss []keyShare
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |